package org.bobmarks.mybatis;

import java.io.Serializable;

/**
 * User data object.
 */
public class User implements Serializable {

    private long id = -1;
    private String name;
    private String username;
    private String password;
   
    public User () {}
   
    public User(String name, String username, String password) {
        this.name = name;
        this.username = username;
        this.password = password;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }   
}